{template header}

<div class="container">

    <ol class="breadcrumb">
        <li><a href="{SITE_URL}">首页</a></li>
        <li><a href="{tsUrl('article')}">文档</a></li>
        <li><a href="{tsUrl('article','tags')}">标签</a></li>
        <li class="active">{$strTag['tagname']}</li>
    </ol>

<div class="row">


<div class="col-md-8">

    <div class="panel panel-default">
        <div class="panel-body">

            <div class="article_list">
                <ul>
                    {loop $arrArticle $key $item}
                    <li>

                        <!--
                      {if $item['photo']}
                      <a href="{tsUrl('article','show',array('id'=>$item[articleid]))}">
                      <img style="float:left;" src="{php echo tsXimg($item['photo'],'article',180,140,$item['path'],'1')}" />
                      </a>
                      {/if}
                      -->
                        <div class="userimg"><a href="{tsUrl('user','duty',array('id'=>$item[user][userid]))}"><img class="img-rounded" src="{$item[user][face]}" width="32" height="32" alt="{$item['user']['username']}" title="{$item['user']['username']}" /></a></div>
                        <div class="article_title" style="font-size: 14px"><a href="{tsUrl('article','show',array('id'=>$item[articleid]))}" style="color: #444444">{$item[title]}</a></div>

                        <div class="article_info"><span style="float: left"><a href="{tsUrl('user','duty',array('id'=>$item[user][userid]))}">{$item[user][username]}</a>  {php echo getTime($item[addtime],time())}</span><span style="float: right"><a href="{tsUrl('article','group',array('groupid'=>$item['group']['groupid']))}">{$item['group']['groupname']}</a>  {$item['count_view']}阅 |   {$item['count_comment']}评</span></div>
                        <div class="clear"></div>
                    </li>
                    {/loop}
                </ul>
            </div>

<div class="page">{$pageUrl}</div>
</div>
</div>
</div>


<div class="col-md-4">

    <div class="panel panel-default">
        <div class="panel-heading">热门标签</div>
        <div class="panel-body">
<div class="tags">
{loop $arrTag $key $item}
<a href="{tsUrl('article','tag',array('id'=>urlencode($item[tagname])))}">{$item[tagname]}</a>
{/loop}

</div>
</div>
</div>


</div>






</div>
</div>

{template footer}